home *** CD-ROM | disk | FTP | other *** search
/ ring.yamanashi.ac.jp/pub/pc/freem/action/ / action.zip / kappa_ver1.1.lzh / 宇宙がっぱ ピキッ ver1.1 / Xfile / flat_front2.X < prev    next >
Text File  |  2002-03-02  |  3KB  |  168 lines

  1. xof 0302txt 0064
  2. // LWS2X generated file 
  3. // (LWS2X (C)1996,1997 A.Koizuka/Bio_100%  mail:koizuka@ss.iij4u.or.jp )
  4. // http://www.ss.iij4u.or.jp/~koizuka/
  5.  
  6. template Header {
  7.  <3D82AB43-62DA-11cf-AB39-0020AF71E433>
  8.  WORD major;
  9.  WORD minor;
  10.  DWORD flags;
  11. }
  12.  
  13. template Vector {
  14.  <3D82AB5E-62DA-11cf-AB39-0020AF71E433>
  15.  FLOAT x;
  16.  FLOAT y;
  17.  FLOAT z;
  18. }
  19.  
  20. template Coords2d {
  21.  <F6F23F44-7686-11cf-8F52-0040333594A3>
  22.  FLOAT u;
  23.  FLOAT v;
  24. }
  25.  
  26. template Matrix4x4 {
  27.  <F6F23F45-7686-11cf-8F52-0040333594A3>
  28.  array FLOAT matrix[16];
  29. }
  30.  
  31. template ColorRGBA {
  32.  <35FF44E0-6C7C-11cf-8F52-0040333594A3>
  33.  FLOAT red;
  34.  FLOAT green;
  35.  FLOAT blue;
  36.  FLOAT alpha;
  37. }
  38.  
  39. template ColorRGB {
  40.  <D3E16E81-7835-11cf-8F52-0040333594A3>
  41.  FLOAT red;
  42.  FLOAT green;
  43.  FLOAT blue;
  44. }
  45.  
  46. template IndexedColor {
  47.  <1630B820-7842-11cf-8F52-0040333594A3>
  48.  DWORD index;
  49.  ColorRGBA indexColor;
  50. }
  51.  
  52. template Boolean {
  53.  <4885AE61-78E8-11cf-8F52-0040333594A3>
  54.  WORD truefalse;
  55. }
  56.  
  57. template Boolean2d {
  58.  <4885AE63-78E8-11cf-8F52-0040333594A3>
  59.  Boolean u;
  60.  Boolean v;
  61. }
  62.  
  63. template MaterialWrap {
  64.  <4885AE60-78E8-11cf-8F52-0040333594A3>
  65.  Boolean u;
  66.  Boolean v;
  67. }
  68.  
  69. template TextureFilename {
  70.  <A42790E1-7810-11cf-8F52-0040333594A3>
  71.  STRING filename;
  72. }
  73.  
  74. template Material {
  75.  <3D82AB4D-62DA-11cf-AB39-0020AF71E433>
  76.  ColorRGBA faceColor;
  77.  FLOAT power;
  78.  ColorRGB specularColor;
  79.  ColorRGB emissiveColor;
  80.  [...]
  81. }
  82.  
  83. template MeshFace {
  84.  <3D82AB5F-62DA-11cf-AB39-0020AF71E433>
  85.  DWORD nFaceVertexIndices;
  86.  array DWORD faceVertexIndices[nFaceVertexIndices];
  87. }
  88.  
  89. template MeshFaceWraps {
  90.  <4885AE62-78E8-11cf-8F52-0040333594A3>
  91.  DWORD nFaceWrapValues;
  92.  Boolean2d faceWrapValues;
  93. }
  94.  
  95. template MeshTextureCoords {
  96.  <F6F23F40-7686-11cf-8F52-0040333594A3>
  97.  DWORD nTextureCoords;
  98.  array Coords2d textureCoords[nTextureCoords];
  99. }
  100.  
  101. template MeshMaterialList {
  102.  <F6F23F42-7686-11cf-8F52-0040333594A3>
  103.  DWORD nMaterials;
  104.  DWORD nFaceIndexes;
  105.  array DWORD faceIndexes[nFaceIndexes];
  106.  [Material]
  107. }
  108.  
  109. template MeshNormals {
  110.  <F6F23F43-7686-11cf-8F52-0040333594A3>
  111.  DWORD nNormals;
  112.  array Vector normals[nNormals];
  113.  DWORD nFaceNormals;
  114.  array MeshFace faceNormals[nFaceNormals];
  115. }
  116.  
  117. template MeshVertexColors {
  118.  <1630B821-7842-11cf-8F52-0040333594A3>
  119.  DWORD nVertexColors;
  120.  array IndexedColor vertexColors[nVertexColors];
  121. }
  122.  
  123. template Mesh {
  124.  <3D82AB44-62DA-11cf-AB39-0020AF71E433>
  125.  DWORD nVertices;
  126.  array Vector vertices[nVertices];
  127.  DWORD nFaces;
  128.  array MeshFace faces[nFaces];
  129.  [...]
  130. }
  131.  
  132. Header {
  133.  1;
  134.  0;
  135.  1;
  136. }
  137.  
  138. Material MatROK1 {
  139.  0.313725;0.749020;0.749020;1.000000;;
  140.  0.000000;
  141.  1.000000;1.000000;1.000000;;
  142.  0.000000;0.000000;0.000000;;
  143. }
  144. Mesh {
  145.  4;
  146.  1.000000;1.000000;0.000000;,            //ëEÅπ
  147.  -1.000000;1.000000;0.000000;,            //ì╢Åπ
  148.  -1.000000;-1.000000;0.000000;,            //ì╢ë║
  149.  1.000000;-1.000000;0.000000;;            //ëEë║
  150.  
  151.  1;
  152.  4;0,3,2,1;;
  153.  
  154.  MeshMaterialList {
  155.   2;
  156.   1;
  157.   0;;
  158.   {MatROK1}
  159.  }
  160.  MeshNormals {
  161.   1;
  162.   0.000000;0.000000;-1.000000;;
  163.  
  164.   1;
  165.   4;0,0,0,0;;
  166.  }
  167. }
  168.